package tech.popsoft.cip.manage.service;

import tech.popsoft.platform.common.base.BaseService;
import tech.popsoft.cip.api.entity.ApiRequest;
import tech.popsoft.cip.api.entity.ApiResponse;
import tech.popsoft.cip.manage.entity.ApiServiceLog;

import java.time.LocalDateTime;


/**
 * 服务日志 服务类
 * @author wqliu
 * @date 2021-08-17
 *
 */
public interface ApiServiceLogService extends BaseService<ApiServiceLog> {

    /**
     * 记录日志
     *
     * @param request     请求
     * @param response    响应
     * @param receiveTime 接收时间
     */
    void recordLog(ApiRequest request, ApiResponse response, LocalDateTime receiveTime);

}
